package cn.zwx.goods.svc.rpc.vo;

import lombok.Data;
import org.apache.dubbo.apidocs.annotations.ResponseProperty;

import java.util.List;

/**
 * @author zhangwenxue
 */
@Data
public class AttrInfoVO {


    /**
     * 属性分类表id
     */
    @ResponseProperty("属性分类表id")
    private Integer attrId;

    @ResponseProperty(value = "属性名称")
    private String attrName;

    /**
     * 属性描述
     */
    @ResponseProperty("属性描述")
    private String attrDesc;

    @ResponseProperty("属性值信息")
    private List<AttrValueVO> attrValueList;

    @Data
    public static class AttrValueVO {
        /**
         * 属性分类表id
         */
        @ResponseProperty("属性分类值id")
        private Long attrValueId;

        /**
         * 属性值
         */
        @ResponseProperty("属性值")
        private String attrValue;
    }
}
